<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css') }}">
<script type="text/javascript" src="{{ url_for('static', filename='jquery-1.11.3.min.js') }}"></script>
<script type="text/javascript" src="{{ url_for('static', filename='global.js') }}"></script>
<title>flask-app1</title>
<head>

<body style="background:{{ url_for('static', filename='background.jpg') }}">
<div class=page>
    <h1><a href="{{ url_for('home') }}">flask-app1</a></h1>

    <div class=metanav>
    {% if not session.logged_in %}
    <a href="{{ url_for('login') }}">log in</a>
    {% else %}
    <a href="{{ url_for('logout') }}">log out</a>
    {% endif %}
    </div>

    {% for message in get_flashed_messages() %}
    <div class=flash>
    {{message}}
    </div>
    {% endfor %}

    {% block body %}
    {% endblock %}
</div>
</body>
</html>
